package com.pdg.islandinterloper.enums;

import com.pdg.islandinterloper.R;

public enum ClientState {
	MAIN(R.layout.layout_main,R.menu.menu_main),
	ABOUT(R.layout.layout_about,R.menu.menu_none), 
	INSTRUCTIONS(R.layout.layout_instructions,R.menu.menu_none), 
	SETTINGS(R.layout.layout_settings,R.menu.menu_none), 
	STATISTICS(R.layout.layout_statistics,R.menu.menu_none), 
	PLAY(R.layout.layout_play,R.menu.menu_none), 
	NEW_PROFILE(R.layout.layout_new_profile,R.menu.menu_none),
	OPEN_PROFILE(R.layout.layout_open_profile,R.menu.menu_none),
	UNINITIALIZED_PROFILE(R.layout.layout_uninitialized_profile,R.menu.menu_none),
	CREATE_WORLD(R.layout.layout_create_world,R.menu.menu_none);
	private int layout;
	private int menu;
	ClientState(int theLayout,int theMenu){
		setLayout(theLayout);
		setMenu(theMenu);
	}

	private void setMenu(int theMenu) {
		menu = theMenu;
	}

	private void setLayout(int theLayout) {
		layout = theLayout;
	}
	public int getLayout(){
		return layout;
	}

	public int getMenu() {
		return menu;
	}
}
